<?php $this->load->view('admin_home/_header') ?>
<?php $this->load->view('message') ?>
<head>
<script tyep="text/javascript">
	$().ready(function(){
		$("#teacher_li").addClass("active"); 
	});
</script>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    </head>
<div class="container">
	<div class="panel panel-primary">
		<div class="panel-heading">
			<h3 class="panel-title">考试科目列表(<?php echo $class['name'] ;?>)</h3>
		</div>
		<div class="panel-body">
			<table class="table table-striped table-hover ">
				<thead>
					<tr>
						<th>序号</th>
						<th>科目</th>
						<th>时间限制</th>						
						<th></th>
						<th>操作</th>
						<th></th>
						<th><a href="<?php echo site_url('admin_teacher/check_logic_class').'/'.$teacher['id']?>" class="btn btn-primary ">返回</a></th>
					</tr>
				</thead>
				<tbody>
					<?php $index=1; ?>
					<?php foreach ($module_add_logic_class as $item ): ?>
					<tr>
						<td>
							<?php echo $index++ ;?></td>
						<td>
							<?php echo $item['name']?>
						</td>
						<td>
							<?php echo $item['time_limit']?></td>
						<td>
							</td>
						<td>
							<a href="<?php echo site_url('admin_teacher/check_knowledge_points_in_module_of_student_in_class').'/'.$teacher['id'].'/'.$item['logic_class_id'].'/'.$item['module_id'].'/'.$class['id']?>" class="btn btn-primary ">知识点统计</a>
						</td>
						<td>
							
						</td>
						<td></td>
						<td></td>
					</tr>
					<?php endforeach; ?>
				</tbody>
			</table>

		</div>
	</div>
</div>
<?php $this->load->view('admin_home/_footer')?>